from django_filters.rest_framework import FilterSet
from django_filters.filters import *
from .models import *


class MenuFilterSet(FilterSet):
    name = CharFilter(lookup_expr="contains")

    class Meta:
        model = Menu
        fields = ["name", "status"]
